
import javax.microedition.lcdui.Display;
import javax.microedition.midlet.MIDlet;
import javax.microedition.midlet.MIDletStateChangeException;



/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author tsuchimoto
 */
public class FirstApp extends MIDlet
{
    private View m_View;

    protected void destroyApp(boolean unconditional) throws MIDletStateChangeException
    {
    }

    protected void pauseApp()
    {
    }

    protected void startApp() throws MIDletStateChangeException
    {
        if (m_View == null)
        {
            m_View=new View();
            Display.getDisplay(this).setCurrent(m_View);
        }
        else
        {
            m_View.resume();
        }

    }
}
